<template>
  <button class="btn btn-sm btn-primary" @click="showModal = true">批量导入标签</button>
  <vue-modal
    title="批量导入标签"
    ok-text="提交"
    cancel-text="取消"
    :show.sync="showModal"
    effect="fade"
    :small="true"
    :width="460"
    :callback="submit">
    <div slot="modal-body" class="modal-body">
      <form class="form-horizontal" role="form" v-el:form>
        <div class="form-group form-group-sm">
          <label class="col-sm-3 control-label">*文件</label>
          <div class="col-sm-9 text-left">
            <input type="file" class="form-control" v-el:file accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel">
          </div>
        </div>
      </form>
    </div>
  </vue-modal>
</template>
<style src="./import-tag.css" scoped></style>
<script src="./import-tag.js"></script>
